package fr.awtl.framework.actions.forms;

public class ActionForm1 implements ActionForm {

	private boolean booleen;
	private String texte;
	private int entier;
	private double deux;
	private short court;
	private float flottant;
	private byte bit;
	private char caractere;
	private long grand;
	
	public boolean isBooleen() {
		return booleen;
	}
	public void setBooleen(boolean booleen) {
		this.booleen = booleen;
	}
	public String getTexte() {
		return texte;
	}
	public void setTexte(String texte) {
		System.out.println("texte ActionForm1: "+texte);
		this.texte = texte;
	}
	public int getEntier() {
		return entier;
	}
	public void setEntier(int entier) {
		this.entier = entier;
	}
	public double getDeux() {
		return deux;
	}
	public void setDeux(double deux) {
		this.deux = deux;
	}
	public short getCourt() {
		return court;
	}
	public void setCourt(short court) {
		this.court = court;
	}
	public float getFlottant() {
		return flottant;
	}
	public void setFlottant(float flottant) {
		this.flottant = flottant;
	}
	public byte getBit() {
		return bit;
	}
	public void setBit(byte bit) {
		this.bit = bit;
	}
	public char getCaractere() {
		return caractere;
	}
	public void setCaractere(char caractere) {
		this.caractere = caractere;
	}
	public long getGrand() {
		return grand;
	}
	public void setGrand(long grand) {
		this.grand = grand;
	}
	
	public boolean validate() {
		if(entier!=0 && !texte.equals(""))
			return true;
		return false;
	}

	
	
}
